package com.platform.util;

/**
 * @program:
 * @Description:
 * @Author: liweihai
 * @Date: Created in 2019/2/2 16:32
 */
public class Constants {

    // 排名
    public static final String REDIS_RANK_KEY = "API_RANK_KEY:RANK";
    //日注册快照
    public static final String REDIS_REG_SNAP_KEY = "API_REG_SNAP_KEY:REG_SNAP";
    //重置公里数
    public static final String REDIS_RESETKM_KEY = "API_RESETKM_KEY:RESETKM";
    // 商品上架标识：0未上架，1已上架
    public static final int PRODUCT_SALE_FLAG_NO = 0, PRODUCT_SALE_FLAG_YES = 1;

    // 个人消息已读状态 0未读 1已读
    public static final int MESSAGE_STATUS_UNLOOK = 0, MESSAGE_STATUS_LOOK = 1;
    // 币配置
    public static final String REDIS_COIN_CACHE = "API_COIN_CONFIG_KEY";
    public static final String REDIS_COIN_CONFIG = "COIN_CONFIG:type";
    //个人基本信息
    public static final String REDIS_USER_CACHE = "API_USER_KEY";
    public static final String REDIS_USER_KEY = "USER:userId";
    //个人资产
    //public static final String REDIS_USER_ASSET_KEY = "API_USER_ASSET_KEY:USER_ASSET";
    //今日运动数据
    public static final String REDIS_TODAY_DATA_KEY = "API_TODAY_DATA_KEY:TODAY_DATA";
    //团队人员基本信息
    public static final String REDIS_TEAM_KEY = "API_TEAM_KEY";
    //团队关联关系基本信息
    public static final String REDIS_TEAM_USER_KEY = "API_TEAM_USER_KEY:TEAM_USER";
    //首页key
    public static final String REDIS_HOME ="HOME_KEY";
    public static final String REDIS_HOME_BANNER ="HOME_KEY:banner";
    public static final String REDIS_HOME_CATE ="HOME_KEY:cate";
    public static final String REDIS_HOME_PRO ="HOME_KEY:pro";
    //一款
    public static final String REDIS_SHARE_STR ="SHARE_KEY:str";
    //抽奖配置
    public static final String REDIS_LOTTERY_KEY = "LOTTERY_KEY:type";

    //产品分类API_PRO_CATE_KEY:CATE
   public static final String REDIS_PRO_CATE_KEY = "API_PRO_CATE_KEY";

    //用户邀请上限
    public static final String REDIS_UPPER_KEY = "UPPER_KEY";

    //文字内容配置
    public static final String REDIS_TEXT_CONF ="CONTENT_KEY";

    //社区分类
    public static final String REDIS_COMMUNITY_KEY = "COMMUNITY_KEY:CATE";

    //社区能量规则定义
    public static final String REDIS_DYNAMIC_RULE_KEY = "DYNAMIC_RULE_KEY:btype";

    //短信模板Key
    public static final String REDIS_SMS_TEMPLATE_KEY = "API_SMS_TEMPLATE_KEY";



}
